﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using SqlCeViewer.Base;

namespace SqlCeViewer.UI
{
    public partial class SwitchCreateTable : BaseSubForm
    {
        public SwitchCreateTable()
        {
            InitializeComponent();
            CurCreateType = CreateType.NotSelected;
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            CurCreateType = CreateType.Simple;

            Close();
        }


        public enum CreateType
        {
            NotSelected,
            Simple,
            Normal,
        };

        private CreateType _curCreateType;

        public CreateType CurCreateType
        {
            get { return _curCreateType; }
            set { _curCreateType = value; }
        }



        private void simpleButton2_Click(object sender, EventArgs e)
        {
            CurCreateType = CreateType.Normal;

            Close();
        }
    }
}